package com.zrfintech.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zrfintech.domain.SpProduct;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Options;
public interface SpProductDaoI extends BaseMapper<SpProduct> {

   @Insert("INSERT INTO `sp_product` (`product_id`,`product_name`,`product_desc`) VALUES (#{productId},#{productName},#{productDesc})")
   @Options(useGeneratedKeys = true, keyProperty = "id")
   int create(SpProduct spProduct);
}
